/*两个固定位置的样式设置*/
.logo {
    position: absolute;
    left: 30px;
    top: 0;
    width: 50px;
    height: 50px;
    background: url("../images/index/logo.png");
    background-size: 100% 100%;
    z-index: 1000;
}
.logo_fix{
    position: fixed;
    left: 30px;
    top: 0;
    width: 50px;
    height: 50px;
    background: url("../images/index/logo.png");
    background-size: 100% 100%;
    z-index: 1000;
}
.dh {
    text-align: center;
    border-radius: 10px;
    background: rgba(153, 153, 153, 0.5);
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 50px;
    color: #fff;
    z-index: 999;
    font-family: "幼圆", serif;
    font-size: 19px;
}
.dh_fix{
    text-align: center;
    border-radius: 10px;
    background: rgba(153, 153, 153, 0.5);
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 50px;
    color: #fff;
    z-index: 999;
    font-family: "幼圆", serif;
    font-size: 19px;
}
.dh a {
    color: #fff;
    text-decoration: none;
    content: "";
}

.dh_con {
    /*width: 1100px;*/
    float: right;
    margin-top: 10px;
    height: 40px;
    margin-right: 35px;
}

.dh_con {
    list-style: none;
}

.dh_con li {
    display: inline;
    vertical-align: top;
}

.dh_con li:nth-child(6) {
    display: inline-block;
    width: 80px;
}

@keyframes display_secondNav {
    from {
        transform: scale(0.1);
    }
    50% {
        transform: scale(1.1);
    }
    to {
        transform: none;
    }
}

.dh_con li:nth-child(6):hover .second_nav {
    display: block;
    animation: display_secondNav 2s 1;
}

.dh_con li:nth-child(6):hover {
    cursor: pointer;
}

.second_nav {
    width: 80px;
    height: 100px;
    position: relative;
    top: 10px;
    display: none;
}

.second_nav ul {
    width: 70px;
    margin: 0 auto;
}

.second_nav li {
    display: block;
}

.second_nav li:hover {
    background: gray;
    opacity: 0.5;
    cursor: pointer;
}

.nav-underline-active,
.nav-underline-active:hover {
    border-bottom: 2px solid #fff;
}


.nav-underline {
    position: relative;
    text-decoration: none;
    color: #fff;
}

.nav-underline:before {
    content: "";
    position: absolute;
    bottom: -10px;
    width: 0;
    border-bottom: 3px solid black;
    border-radius: 2px;
}

.nav-underline:hover:before {
    width: 100%;
}

.nav-underline:before {
    -webkit-transition: width 0.5s ease-in-out;
    -moz-transition: width 0.5s ease-in-out;
    -ms-transition: width 0.5s ease-in-out;
    -o-transition: width 0.5s ease-in-out;
    transition: width 0.5s ease-in-out;
}